//
//  PKPayUtilsHelper.swift
//  Panku
//
//  Created by mac on 2017/4/26.
//  Copyright © 2017年 Monster. All rights reserved.
//

import UIKit

typealias PKPayUtilsFactory = () -> PKPayUtils

enum PKPayUtilsType {
    
    case alipay
    case wechat
}

enum PKPayUtilsHelper {
    static func factory(type:PKPayUtilsType) -> PKPayUtilsFactory {
        
        switch type{
            case .alipay:
                return PKPayUtils_Alipay.make
            case .wechat:
                return PKPayUtils_Wechat.make
        }

    }
    
}


